{block name="product_info_option_template_product_options_selection_if"} {if $options!=''} {block name="product_info_option_template_product_options_selection"}
{block name="product_info_option_template_product_options_selection_option_foreach"} {foreach name=outer item=options_data from=$options} {block name="product_info_option_template_product_options_selection_option_if"} {if $options_data.DATA || $GM_HIDE_OUT_OF_STOCK == 'false'} {block name="product_info_option_template_product_options_selection_option"}
{block name="product_info_option_template_product_options_selection_option_label"} {$options_data.NAME}: {/block} {block name="product_info_option_template_product_options_selection_option_input_container"}
{block name="product_info_option_template_product_options_selection_option_input_foreach"} {foreach key=key_data item=item_data from=$options_data.DATA} {block name="product_info_option_template_product_options_selection_option_label2"} {block name="product_info_option_template_product_options_selection_option_input"} {$item_data.TEXT}
{if $item_data.PRICE!=''}({$item_data.PREFIX}{$item_data.PRICE}){/if}{if $GM_SHOW_STOCK == 'true' && $options_data.NAME != 'downloads'} {$GM_STOCK_TEXT_BEFORE}{$item_data.GM_STOCK}{$GM_STOCK_TEXT_AFTER}{/if} {/block} {/block} {/foreach} {$chk = false} {/block}
{/block}
{/block} {/if} {/block} {/foreach} {/block}
{/block} {/if} {/block}